package ${companyPackage}.model.${package};
import java.io.Serializable;
import lombok.Data;
<#--需要导入的包-->
<#if importList?exists>
    <#list importList as import>
import ${import};        
     </#list>
</#if>
<#--bean相关的注解，自己配置全路径-->
import ${companyPackage}.common.mybatis.annotation.Table;
import ${companyPackage}.common.mybatis.annotation.Column;
import ${companyPackage}.common.mybatis.annotation.Id;
@Data
@Table("${tableName}")
public class ${beanName} implements Serializable{
    <#--所包含的字段-->
	<#if fieldList?exists>
    	<#list fieldList as field>
    		<#if fieldComment[field]?has_content>/** ${fieldComment[field]} */</#if>
    		@${field2ann[field]}("${field2column[field]}")
    		private ${field2type[field]} ${field};
    	</#list>
	</#if>
	<#--所包含的字段end-->
}
